{% block left_nav %}
<div class="navbar-default sidebar" role="navigation">
    <div class="sidebar-nav navbar-collapse">
        <ul class="nav" id="side-menu">
            {% if perms.abview.abview_admin %}
            <li>
                <a href="#"><i class="fa fa-fw"></i>灰度设置<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/ab/dev/services/">Dev环境</a>
                    </li>
                    <li>
                        <a href="/ab/qa/services/">Qa环境</a>
                    </li>
                    <li>
                        <a href="/ab/demo/services/">Demo环境</a>
                    </li>
                    <li>
                        <a href="/ab/prod/services/">Prod环境</a>
                    </li>
                </ul>
            </li>
            {% endif %}
            {% if perms.cutover.cutover_admin %}
            <li>
                <a href="#"><i class="fa fa-fw"></i>上线切换操作<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/cutover/dev/services">Dev环境</a>
                    </li>
                    <li>
                        <a href="/cutover/qa/services">Qa环境</a>
                    </li>
                    <li>
                        <a href="/cutover/demo/services">Demo环境</a>
                    </li>
                    <li>
                        <a href="/cutover/prod/services">Prod环境</a>
                    </li>
                </ul>
            </li>
            {% endif %}

            {% if perms.wechatverifyupload.wechatverifyupload_admin %}
                <li>
                <a href="#"><i class="fa fa-fw"></i>微信认证文件上传<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/admin/wechatverifyupload/wechatverify/">Demo环境</a>
                    </li>
                    <li>
                        <a href="/admin/wechatverifyupload/wechatverify/">Prod环境</a>
                    </li>
                </ul>
            </li>
            {% endif %}

        </ul>
    </div>
                <!-- /.sidebar-collapse -->
</div>
{% endblock %}

